<div class="user_main">
    <!------------------------------------------------------------------------------------------------------------------------->
    <div class="content_box">
        <p class="user_main_title">个人资料</p>
        <ul class="list data_top">
            <li><p class="update"><a href="{:U('Info/charge')}">修改个人资料</a></p><p class="name">账户名</p><p class="data">{$user.uname}</p></li>
            <li><p class="update"></p><p class="name">邮箱</p><p class="data">{$user.email}</p></li>
            <li><p class="name">性别</p><p class="data">{$user.sex|sexStr}</p></li>
            <li><p class="name">生日</p><p class="data"><if condition="$user['birthday'] gt 0">{$user.birthday}<else/>未设置</if></p></li>
        </ul>
        <ul class="list">
            <li><p class="update"><if condition="$ver['idcard_no']">已验证<else/><a href="{:U('User/info/verified')}">进行实名认证</a></if></p><p class="name">身份验证</p><p class="data"><if condition="$ver['idcard_no']">身份证号码&nbsp;{$ver.idcard_no|substr_replace="'********', 3, 8"}<else/>未设置</if></p></li>
            <li><p class="update"><a href="{:U('User/info/password')}">修改登陆密码</a></p><p class="name">登陆密码</p><p class="data">登陆黄山消费快报帐户时需要输入的密码</p></li>
            <li><p class="update"><a href="javascript:void(0);" onclick="setCareer()">设置</a></p><p class="name">职业</p><p class="data"><if condition="$user['career']">{$user.career}<else/>未设置</if></p></li>
            <li><p class="name">注册时间</p><p class="data">{$user.reg_time|date=Y年m月d日,###}</p></li>
        </ul>        </div>
    <!------------------------------------------------------------------------------------------------------------------------->
</div>
    <!---->
</div>
<!----> 
<div class="common_right">
    <div class="Cad">{:getBlock('common_right_ad1')}</div>
    <div class="Cad martop10">{:getBlock('common_right_ad2')}</div>
    <div class="CR_title"><i><a href="{:U('Home/Search/index')}">更多&gt;&gt;</a></i><strong>推荐信息</strong></div>
    <ul class="Recommend_information">
    <volist name="rounddz" id="rdz">
        <li>
            <div class="img"><img src="{$rdz.img_url}"></div>
            <dl>
                <dt><a href="{:U('Home/Dazhe/show', array('id'=>$rdz['dazhe_id']))}">{$rdz.title}</a></dt>
                <dd class="s">{$rdz.user_id|getUserName}</dd>
                <dd>时间：{$rdz.create_time|date="Y-m-d", ###}</dd>
            </dl>
        </li>     
    </volist>   
</ul>
</div>
<script type="text/javascript">
    function setCareer(){
        var dialog = art.dialog({id: 'setCareer',title: false});
        $.ajax({
            url: "{:U('User/Info/ajax', array('req'=>'setCareer'))}",
            success: function (data) {
                dialog.content(data);
            },
            cache: false
        });
        dialog.button(
        {
            name: '确认',
            callback: function () {
                var career = $("#career-form-data").val();
                $.ajax({
                    url: "{:U('User/Info/ajax', array('req'=>'dosetCareer'))}",
                    data: {career: career},
                    success: function (data) {
                        window.location.reload();
                    },
                    cache: false
                });
        
            }
        }
    )
    }
</script>